#import "FlutterImmersionBarPlugin.h"
#import <flutter_immersion_bar/flutter_immersion_bar-Swift.h>

@implementation FlutterImmersionBarPlugin
+ (void)registerWithRegistrar:(NSObject<FlutterPluginRegistrar>*)registrar {
  [SwiftFlutterImmersionBarPlugin registerWithRegistrar:registrar];
}
+ (void)statusBarDarkFont:(BOOL)isDark{
    if(isDark){
        [[UIApplication sharedApplication]setStatusBarStyle:UIStatusBarStyleDarkContent];
    }
    else{
        [[UIApplication sharedApplication]setStatusBarStyle:UIStatusBarStyleLightContent];
    }
}
@end
